package com.example.zxw.entity;

/**
 * 二級頻道的列表的實體類
 */
public class NewsSubChannelEntity {
    private String fname;
    private String type;
    private String name;
    private String icon;
    private String content;
    private String shareTitle;
    private String sharePic;
    private int order;
    private DynamicColumnInfo dynamicColumnInfo;
    private ColumnInfo columnInfo;
    private String subColumnStyle;
    private String bgPicture;

    public int getOrder() {
        return order;
    }

    public void setOrder(int order) {
        this.order = order;
    }

    public DynamicColumnInfo getDynamicColumnInfo() {
        return dynamicColumnInfo;
    }

    public ColumnInfo getColumnInfo() {
        return columnInfo;
    }

    public String getFname() {
        return fname;
    }

    public String getType() {
        return type;
    }

    public String getName() {
        return name;
    }

    public String getIcon() {
        return icon;
    }

    public String getContent() {
        return content;
    }

    public String getShareTitle() {
        return shareTitle;
    }

    public String getSharePic() {
        return sharePic;
    }

    public String getSubColumnStyle() {
        return subColumnStyle;
    }

    public void setSubColumnStyle(String subColumnStyle) {
        this.subColumnStyle = subColumnStyle;
    }

    public String getBgPicture() {
        return bgPicture;
    }

    public void setBgPicture(String bgPicture) {
        this.bgPicture = bgPicture;
    }

    public void setDynamicColumnInfo(DynamicColumnInfo dynamicColumnInfo) {
        this.dynamicColumnInfo = dynamicColumnInfo;
    }

    public void setColumnInfo(ColumnInfo columnInfo) {
        this.columnInfo = columnInfo;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public void setType(String type) {
        this.type = type;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public void setShareTitle(String shareTitle) {
        this.shareTitle = shareTitle;
    }

    public void setSharePic(String sharePic) {
        this.sharePic = sharePic;
    }

    /**
     * 专题自动栏目，跳转专题更多需要的信息
     * sharePic: "http://www.chinanews.com/part/appzt/546/2019-05-05/U844P4T546D2150F23881DT20190505144911.jpg",
     * exid: "",
     * colname: "最新消息",
     * shareTtl: "第二届数字中国建设峰会",
     * tabShareUrl: "https://dw2.chinanews.com/chinanews/topic_more.jsp?pageIndex=1&pageSize=15&id=4471&language=chs",
     * title: "第二届数字中国建设峰会",
     * desc: null,
     * newstype
     */
    public class DynamicColumnInfo{
        private String sharePic;
        private String exid;
        private String colname;
        private String shareTtl;
        private String tabShareUrl;
        private String title;
        private String desc;
        private String newstype;

        public String getSharePic() {
            return sharePic;
        }

        public String getExid() {
            return exid;
        }

        public String getColname() {
            return colname;
        }

        public String getShareTtl() {
            return shareTtl;
        }

        public String getTabShareUrl() {
            return tabShareUrl;
        }

        public String getTitle() {
            return title;
        }

        public String getDesc() {
            return desc;
        }

        public String getNewstype() {
            return newstype;
        }
    }

    /**
     * 专题手动栏目，跳转专题详情页面某一锚点需要的信息
     * tabName: "要闻导读",
     * title: "全面深化改革五年来"
     */
    public class ColumnInfo{
        private String tabName;
        private String title;

        public String getTabName() {
            return tabName;
        }

        public String getTitle() {
            return title;
        }
    }
}
